﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
namespace gamexpert
{
    public partial class CreateNewMember : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
        {   
            Roles.AddUserToRole(CreateUserWizard1.UserName, "Member");
        }

        protected void CreateUserWizard1_SendMailError(object sender, SendMailErrorEventArgs e)
        {
            e.Handled = true;
        }
    }
}
